﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{
    /// <summary>
    /// 权益实体
    /// </summary>
    public class MemberRight
    {
        [Key]
        public int id { get; set; }

        /// <summary>
        /// 权益名称
        /// </summary>
        public string? RightName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime  CreateTime { get; set; }= DateTime.Now;


        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 转态
        /// </summary>
        public int State { get; set; } = 1;
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
